@echo off

if "%buildtype%" == "" (
	echo Code has not been build!
	goto :eof
)

if not exist %inetroot%\bin\%buildtype% (
	echo Build type '%buildtype%' does not exist, please rebuild!
	goto :eof
)

:runcode
pushd %inetroot%\bin\%buildtype%
call %inetroot%\bin\%buildtype%\%beshort%.exe
popd
goto :eof
